<template>
	<view>
		<text>tab2页面</text>
		<view class="">
			<button @click="logout">退出登录</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			logout(){
				console.log("执行退出登录操作")
				uni.navigateTo({
					url:"/pages/login/login"
				})
			}
		}
	}
</script>

<style>

</style>
